package com.cli.elk_actual_combat.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author xiongmin
 * @Description //TODO
 * @Date 2020/11/7 11:45
 * @Version 1.0
 **/
@Slf4j
@RequestMapping("/log")
@RestController
public class LogController {

    @GetMapping("/test")
    public String publish() {
        log.info("-----打印了一些日志-----");
        return "success";
    }
}
